#include <iostream>
using namespace std;

#include "CPattern.h"


int main (int, char * []) {
	CPattern<double> p, p2;
	p << 1 << 2 << 3;
	p2 << 4 << 5 << 6;
	cout << p << endl << p2 << endl;
	p += p2 += p2;
	cout << p - p2 << endl;
	return true;
}